package com.cuc.platform.core.domain.baseInfo;

import java.io.Serializable;
import java.sql.Date;

/**
 * @author peepul
 * 
 * 用户基本信息实体
 * 
 * sa_userinfo表的对应POJO,字段名做了大小写处理.
 */
public class UserInfo implements Serializable{
	private static final long serialVersionUID = -6908326854178419648L;
	
	private Long userId;//pk
	
	private String name;
	private String pinyin;
	private String loginName;
	private String email;
	private String sex;
	private Integer status;
	private Date birthday;
	private Integer age;
	private String idCard;
	private String photoPath;
	private Integer orgSortNo;
	private Integer deptSortNo;
	private String userNo;
	private String duty;
	private String isMarried;
	private Date workDate;
	private java.util.Date createTime;
	private String descn;
	private Long orgId;
	
	//
	private Organization org;
	
	/**
	 * 
	 */
	public UserInfo() {
		super();
	}
	
	/**
	 * @param userId
	 * @param name
	 * @param loginName
	 */
	public UserInfo(Long userId, String name, Integer status) {
		super();
		this.userId = userId;
		this.name = name;
		this.status = status;
	}
	
	/**
	 * @return the orgId
	 */
	public Long getOrgId() {
		return orgId;
	}

	/**
	 * @param orgId the orgId to set
	 */
	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}
	
	/**
	 * @return the org
	 */
	public Organization getOrg() {
		return org;
	}

	/**
	 * @param org the org to set
	 */
	public void setOrg(Organization org) {
		this.org = org;
	}

	/**
	 * @return the userId
	 */
	public Long getUserId() {
		return userId;
	}
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the pinyin
	 */
	public String getPinyin() {
		return pinyin;
	}
	/**
	 * @param pinyin the pinyin to set
	 */
	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}
	/**
	 * @return the loginName
	 */
	public String getLoginName() {
		return loginName;
	}
	/**
	 * @param loginName the loginName to set
	 */
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * @return the sex
	 */
	public String getSex() {
		return sex;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * @return the birthday
	 */
	public Date getBirthday() {
		return birthday;
	}
	/**
	 * @param birthday the birthday to set
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * @return the age
	 */
	public Integer getAge() {
		return age;
	}
	/**
	 * @param age the age to set
	 */
	public void setAge(Integer age) {
		this.age = age;
	}
	/**
	 * @return the idCard
	 */
	public String getIdCard() {
		return idCard;
	}
	/**
	 * @param idCard the idCard to set
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	/**
	 * @return the photoPath
	 */
	public String getPhotoPath() {
		return photoPath;
	}
	/**
	 * @param photoPath the photoPath to set
	 */
	public void setPhotoPath(String photoPath) {
		this.photoPath = photoPath;
	}
	/**
	 * @return the orgSortNo
	 */
	public Integer getOrgSortNo() {
		return orgSortNo;
	}
	/**
	 * @param orgSortNo the orgSortNo to set
	 */
	public void setOrgSortNo(Integer orgSortNo) {
		this.orgSortNo = orgSortNo;
	}
	/**
	 * @return the deptSortNo
	 */
	public Integer getDeptSortNo() {
		return deptSortNo;
	}
	/**
	 * @param deptSortNo the deptSortNo to set
	 */
	public void setDeptSortNo(Integer deptSortNo) {
		this.deptSortNo = deptSortNo;
	}
	/**
	 * @return the userNo
	 */
	public String getUserNo() {
		return userNo;
	}
	/**
	 * @param userNo the userNo to set
	 */
	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}
	/**
	 * @return the duty
	 */
	public String getDuty() {
		return duty;
	}
	/**
	 * @param duty the duty to set
	 */
	public void setDuty(String duty) {
		this.duty = duty;
	}
	/**
	 * @return the isMarried
	 */
	public String getIsMarried() {
		return isMarried;
	}
	/**
	 * @param isMarried the isMarried to set
	 */
	public void setIsMarried(String isMarried) {
		this.isMarried = isMarried;
	}
	/**
	 * @return the workDate
	 */
	public Date getWorkDate() {
		return workDate;
	}
	/**
	 * @param workDate the workDate to set
	 */
	public void setWorkDate(Date workDate) {
		this.workDate = workDate;
	}
	/**
	 * @return the createTime
	 */
	public java.util.Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the descn
	 */
	public String getDescn() {
		return descn;
	}
	/**
	 * @param descn the descn to set
	 */
	public void setDescn(String descn) {
		this.descn = descn;
	}
	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
}
